package com.learning.algorithm.model;

import com.learning.algorithm.util.Constants;

public class CommonResult {


    private String resultKbn = Constants.RESULT_OK;

    private String errorMessage = "";

    public CommonResult() {

    }

    public CommonResult(String errorMessage) {
        this.resultKbn = Constants.RESULT_NG;
        this.errorMessage = errorMessage;
    }

    public String getResultKbn()
    {
        return resultKbn;
    }

    public void setResultKbn(String resultKbn)
    {
        this.resultKbn = resultKbn;
    }

    public String getErrorMessage()
    {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage)
    {
        this.errorMessage = errorMessage;
    }

}
